<!DOCTYPE html>
<html>
<head>
<title>添加产品</title>
</head>
<body class="childrenBody">
	<form class="layui-form" style="width: 80%;">
		<div class="layui-form-item layui-row layui-col-xs12">
			<label class="layui-form-label">标题</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input title" name="title"
					lay-verify="required" placeholder="请输入标题">
			</div>
		</div>
		<div class="layui-form-item layui-row layui-col-xs12">
			<label class="layui-form-label">副标题</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input subtitle" name="subtitle"
					lay-verify="required" placeholder="请输入副标题">
			</div>
		</div>
		<div class="layui-form-item layui-row layui-col-xs12">
			<label class="layui-form-label">价格</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input price" name="price"
					lay-verify="required" placeholder="请确认价格">
			</div>
		</div>
		<div class="layui-form-item layui-row layui-col-xs12">
			<label class="layui-form-label">序号</label>
			<div class="layui-input-block">
				<input type="number" class="layui-input order" name="order"
					lay-verify="required" value="0" min="0">
			</div>
		</div>
		<div class="layui-form-item layui-row layui-col-xs12">
			<label class="layui-form-label">类型</label>
			<div class="layui-input-block">
				<input type="radio" name="type" value="1" title="实物" checked="">
				<input type="radio" name="type" value="0" title="虚拟">
			</div>

		</div>
		<div class="layui-form-item layui-row layui-col-xs12">
			<label class="layui-form-label">产品图片</label>
			<div class="layui-input-block" id="test10">
				<img src="" width="350" height="265"
					class="imgUrl layui-upload-drag" style="cursor: pointer;" />
			</div>
		</div>
		<div class="layui-form-item layui-row layui-col-xs12">
			<label class="layui-form-label">商品详情</label>
			<div class="layui-input-block">
				<textarea placeholder="请输入商品详情" class="layui-textarea details" id="details"
					name="details" ></textarea>
			</div>
		</div>

		<div class="layui-form-item layui-row layui-col-xs12">
			<div class="layui-input-block" style="text-align: center;">
				<button class="layui-btn layui-btn" lay-submit=""
					lay-filter="editProduct">修&nbsp;&nbsp;&nbsp;改</button>
			</div>
		</div>
	</form>
	<script type="text/javascript"
		src="${request.contextPath}/static/js/modules/business/productEdit.js"></script>
</body>
</html>